package gms.entities.match;

import java.util.Date;

/**
 * 赛事信息表实体类
 * @author damage
 *
 */
public class MatchInfo {
	
	private int matchInfoID; //赛事基本信息表ID
	private int placeID;  //场地ID,外键,引用场地模块
	private String proposerName;  //申请人姓名,8
	private String proposerPhone;  //申请人电话,16
	private String matchName;  //赛事名称,20
	private String matchProject;  //赛事项目,12
	private Date startTime;  //开始时间
	private Date endTime;  //结束时间
	private String personInCharge;  //负责人,8
	
	public MatchInfo() {
		super();
	}

	public MatchInfo(int matchInfoID, int placeID, String proposerName, String proposerPhone, String matchName,
			String matchProject, Date startTime, Date endTime, String personInCharge) {
		super();
		this.matchInfoID = matchInfoID;
		this.placeID = placeID;
		this.proposerName = proposerName;
		this.proposerPhone = proposerPhone;
		this.matchName = matchName;
		this.matchProject = matchProject;
		this.startTime = startTime;
		this.endTime = endTime;
		this.personInCharge = personInCharge;
	}

	public int getMatchInfoID() {
		return matchInfoID;
	}
	
	public void setMatchInfoID(int matchInfoID) {
		this.matchInfoID = matchInfoID;
	}
	
	public int getPlaceID() {
		return placeID;
	}
	
	public void setPlaceID(int placeID) {
		this.placeID = placeID;
	}
	
	public String getProposerName() {
		return proposerName;
	}
	
	public void setProposerName(String proposerName) {
		this.proposerName = proposerName;
	}
	
	public String getProposerPhone() {
		return proposerPhone;
	}
	
	public void setProposerPhone(String proposerPhone) {
		this.proposerPhone = proposerPhone;
	}
	
	public String getMatchName() {
		return matchName;
	}
	
	public void setMatchName(String matchName) {
		this.matchName = matchName;
	}
	
	public String getMatchProject() {
		return matchProject;
	}
	
	public void setMatchProject(String matchProject) {
		this.matchProject = matchProject;
	}
	
	public Date getStartTime() {
		return startTime;
	}
	
	public void setStartTime(Date startTime) {
		this.startTime = startTime;
	}
	
	public Date getEndTime() {
		return endTime;
	}
	
	public void setEndTime(Date endTime) {
		this.endTime = endTime;
	}
	
	public String getPersonInCharge() {
		return personInCharge;
	}
	
	public void setPersonInCharge(String personInCharge) {
		this.personInCharge = personInCharge;
	}

	@Override
	public String toString() {
		return "MatchInfo [matchInfoID=" + matchInfoID + ", placeID=" + placeID + ", proposerName=" + proposerName
				+ ", proposerPhone=" + proposerPhone + ", matchName=" + matchName + ", matchProject=" + matchProject
				+ ", startTime=" + startTime + ", endTime=" + endTime + ", personInCharge=" + personInCharge + "]";
	}
	
	
}
